package com.younion.vo;

import cpcns.component.common.base.BaseVO;
import cpcns.persister.converter.IDomainObject;
import cpcns.persister.service.CompositeID;

import java.util.Date;

 
public class MobileMessageVO extends BaseVO implements IDomainObject, Cloneable {

	/**  */
	private static final long serialVersionUID = -1L;
 
	private Integer id;

	 
	private RegisterUserVO registerUser;

	private String userToken;

	 
	private String content;

	 
	private Date createTime;
	private Date gtcreateTime;
	private Date ltcreateTime;
	private String loginId;

	/**
	 * 
	 */
	public MobileMessageVO() {
	}

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	public RegisterUserVO getRegisterUser() {
		return registerUser;
	}

	public void setRegisterUser(RegisterUserVO registerUser) {
		this.registerUser = registerUser;
	}

	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}

	/**
	 * @param content
	 *            the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * @return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * @param createTime
	 *            the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public CompositeID getCompositeID() {
		CompositeID _id = super.getCompositeID();
		_id.clear();
		if (id != null) {
			_id.addKey("id", id);
		}
		return _id;
	}

	public String getUserToken() {
		return userToken;
	}

	public void setUserToken(String userToken) {
		this.userToken = userToken;
	}

	public Date getGtcreateTime() {
		return gtcreateTime;
	}

	public void setGtcreateTime(Date gtcreateTime) {
		this.gtcreateTime = gtcreateTime;
	}

	public Date getLtcreateTime() {
		return ltcreateTime;
	}

	public void setLtcreateTime(Date ltcreateTime) {
		this.ltcreateTime = ltcreateTime;
	}

	public String getLoginId() {
		return loginId;
	}

	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}
	
}
